+2009-01-14 Martin Nordholts <martinn@svn.gnome.org>
+
+ * babl/babl.h:
+ * babl/babl-internal.h: Remove BABL_HARD_MAX_PATH_LENGTH from
+ here, it's only for internal use.
+
+ * babl/babl-fish-path.c: #define BABL_HARD_MAX_PATH_LENGTH locally
+ here.
+
2009-01-14 Martin Nordholts <martinn@svn.gnome.org>
* babl/babl.h (BABL_ALPHA_THRESHOLD): Instead of an arbitrary
#include <math.h>
#include "babl-internal.h"
-#define BABL_LEGAL_ERROR 0.000001
-#define BABL_MAX_COST_VALUE 2000000
+#define BABL_LEGAL_ERROR 0.000001
+#define BABL_MAX_COST_VALUE 2000000
+#define BABL_HARD_MAX_PATH_LENGTH 8
static void
init_path_instrumentation (Babl *fmt_source,
#endif
#define BABL_MAX_COMPONENTS 32
-#define BABL_HARD_MAX_PATH_LENGTH 8
#define BABL_CONVERSIONS 5
#include <stdlib.h>
typedef struct _BablList BablList;
-#ifndef BABL_HARD_MAX_PATH_LENGTH
-#define BABL_HARD_MAX_PATH_LENGTH 16
-#endif
-
/* magic number used at the start of all babl objects, used to do
* differentiation in polymorphic functions. (as well as manual
* type check assertions).